package com.ruoyi.car.mapstruct;

import com.ruoyi.car.controller.admin.CarCustomer.vo.CarCustomerAddReq;
import com.ruoyi.car.controller.admin.CarCustomer.vo.CarCustomerEditReq;
import com.ruoyi.car.entity.CarCustomer;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author wy
 * @Description TODO
 * @Date 2023/6/7 11:58
 * @Version 1.0
 */
@Mapper
public interface CarCustomerConvert {
    CarCustomerConvert INSTANCE= Mappers.getMapper(CarCustomerConvert.class);

    CarCustomer  convert(CarCustomerAddReq req);

    CarCustomer  convert(CarCustomerEditReq req);
}
